<!-- Begin group/acmng.tpl -->
<form method="post" action="?module=groups&action=contact&gid={$smarty.get.gid}&ssact=upd">
{opentable}
{titlebar colspan=5 title=$title}
<tr class="sectiontableheader" align="center">
	<td align="left" width="15%">{$lg->parvw}</td>
	<td align="left">{$lg->user}</td>
	<td align="left">{$lg->first_name}</td>
	<td align="left">{$lg->last_name}</td>	
	<td align="left">{$lg->email}</td>
</tr>
{if is_array($t_part)}
	{foreach from=$t_part key=tabix item=s_part}
		{php}$class = rowcolor();{/php}
		<tr class="{php}print $class;{/php}" align="center">
			<td>
				<select name="parvw{$tabix}" >
					<option value="">(Select.)</option>
				{foreach from=$t_tpar key=id item=s_tpar}
					<option value="{$s_tpar.parvw}"{if $s_tpar.parvw eq $s_part.parvw} selected="selected"{/if}>{$s_tpar.vtext}</option>
				{/foreach}
				</select>
			</td>
			<td>
				<select name="idusr{$tabix}" >
					<option value="">(Select.)</option>
				{foreach from=$t_members key=id item=s_members}
					<option value="{$id}"{if $id eq $s_part.idusr} selected="selected"{/if}>{$s_members.username}</option>
				{/foreach}
				</select>	
			</td>
			<td align="left">
				<input type="text" name="fname{$tabix}"  size="15" maxlength="15" value="{$s_part.fname}" />
			</td>
			<td align="left">
				<input type="text" name="lname{$tabix}"  size="20" maxlength="20" value="{$s_part.lname}" />
			</td>
			<td align="left">
				<input type="text" name="email{$tabix}"  size="35" maxlength="35" value="{$s_part.email}" />
			</td>
		</tr>
	{/foreach}	
{else}
	<tr class="data"><td colspan="4">{$lg->no_data}</td></tr>
{/if}
<tr class="titlebar">
	<td colspan="2">
		<input type="submit" class="button" name="save" value={$lg->save} />
		<input type="submit" class="button" name="add" value={$lg->add}  />
	</td>
</tr>
</table>
</form>
<!-- End group/acmng.tpl -->

